
public class Staff extends Person{
	private String school;
	private double pay;
	public Staff(String name,String address,String school, double pay) {
		super();
		this.school = school;
		this.pay = pay;
		super.setAddress(address);
		super.setName(name);
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public double getPay() {
		return pay;
	}
	public void setPay(double pay) {
		this.pay = pay;
	}
	@Override
	public String toString() {
		return "Staff[Person[name=" + super.getName() + ",address=" + super.getAddress() + ",Staff [school=" + school + ", pay=" + pay + "]";
	}
	
	
}
